package com.cragon.interfaces.impl;

import com.cragon.interfaces.AnimalDao;
import com.cragon.interfaces.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @Description: TODO
 * @Author: ZHOUHAILONG
 * @Date: 2020年11月20日 9:09
 */
@Component
public class AnimalDaoImpl implements AnimalDao {
	@Autowired
	private UserDao userDao;

	@Override
	public void say() {
		System.out.println("Hello! " + userDao.getClass().getName());
	}
}
